package cn.jy.common.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.math.BigDecimal;
import java.util.Date;

/**
 * 快递员列表对象 express_list
 * 
 * @author pepsi779
 * @date 2024-08-22
 */
public class ExpressList extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    //    分页
    private Integer pageNum=1;
    private Integer pageSize=5;

    public Integer getPageNum() {
        return pageNum;
    }

    public void setPageNum(Integer pageNum) {
        this.pageNum = pageNum;
    }

    public Integer getPageSize() {
        return pageSize;
    }

    public void setPageSize(Integer pageSize) {
        this.pageSize = pageSize;
    }
    /** 快递员ID */
    private Long id;
    /** 快递员ID */

    private Long isVip;

    public Long getIsVip() {
        return isVip;
    }

    public void setIsVip(Long isVip) {
        this.isVip = isVip;
    }
    /** 快递员姓名 */
    @Excel(name = "快递员姓名")
    private String name;

    /** 注册类型(1:自主注册,2:后台创建) */
    @Excel(name = "注册类型(1:自主注册,2:后台创建)")
    private Long registrationType;

    /** 创建日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "创建日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date createDate;

    /** 快递公司 */
    @Excel(name = "快递公司")
    private String postCompany;

    /** 注册Ip */
    @Excel(name = "注册Ip")
    private Long registerIp;

    /** 会员余额 */
    @Excel(name = "会员余额")
    private BigDecimal balance;

    /** 实名认证状态（1;认证,2:未认证） */
    @Excel(name = "实名认证状态", readConverterExp = "1=;认证,2:未认证")
    private Long verification;

    /** 会员状态（1:正常,2:异常） */

    private Long status;

    /** 手机号 */

    private String phone;

    /** 区号 */

    private String areaCode;

    /** 头像 */

    private String photo;

    /** 修改时间 */

    private Date changeDate;

    /** 逻辑删除 1否 2是   */

    private Long isDel;

    /** 密码 */

    private String password;

    /** 支付密码 */

    private String payPassword;

    /** 账号 */

    private String account;

    /** 邮箱 */

    private String email;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }
    public void setRegistrationType(Long registrationType) 
    {
        this.registrationType = registrationType;
    }

    public Long getRegistrationType() 
    {
        return registrationType;
    }
    public void setCreateDate(Date createDate) 
    {
        this.createDate = createDate;
    }

    public Date getCreateDate() 
    {
        return createDate;
    }
    public void setPostCompany(String postCompany) 
    {
        this.postCompany = postCompany;
    }

    public String getPostCompany() 
    {
        return postCompany;
    }
    public void setRegisterIp(Long registerIp) 
    {
        this.registerIp = registerIp;
    }

    public Long getRegisterIp() 
    {
        return registerIp;
    }
    public void setBalance(BigDecimal balance) 
    {
        this.balance = balance;
    }

    public BigDecimal getBalance() 
    {
        return balance;
    }
    public void setVerification(Long verification) 
    {
        this.verification = verification;
    }

    public Long getVerification() 
    {
        return verification;
    }
    public void setStatus(Long status) 
    {
        this.status = status;
    }

    public Long getStatus() 
    {
        return status;
    }
    public void setPhone(String phone) 
    {
        this.phone = phone;
    }

    public String getPhone() 
    {
        return phone;
    }
    public void setAreaCode(String areaCode) 
    {
        this.areaCode = areaCode;
    }

    public String getAreaCode() 
    {
        return areaCode;
    }
    public void setPhoto(String photo) 
    {
        this.photo = photo;
    }

    public String getPhoto() 
    {
        return photo;
    }
    public void setChangeDate(Date changeDate) 
    {
        this.changeDate = changeDate;
    }

    public Date getChangeDate() 
    {
        return changeDate;
    }
    public void setIsDel(Long isDel) 
    {
        this.isDel = isDel;
    }

    public Long getIsDel() 
    {
        return isDel;
    }
    public void setPassword(String password) 
    {
        this.password = password;
    }

    public String getPassword() 
    {
        return password;
    }
    public void setPayPassword(String payPassword) 
    {
        this.payPassword = payPassword;
    }

    public String getPayPassword() 
    {
        return payPassword;
    }
    public void setAccount(String account) 
    {
        this.account = account;
    }

    public String getAccount() 
    {
        return account;
    }
    public void setEmail(String email) 
    {
        this.email = email;
    }

    public String getEmail() 
    {
        return email;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("name", getName())
            .append("registrationType", getRegistrationType())
            .append("createDate", getCreateDate())
            .append("postCompany", getPostCompany())
            .append("registerIp", getRegisterIp())
            .append("balance", getBalance())
            .append("verification", getVerification())
            .append("status", getStatus())
            .append("phone", getPhone())
            .append("areaCode", getAreaCode())
            .append("photo", getPhoto())
            .append("changeDate", getChangeDate())
            .append("isDel", getIsDel())
            .append("password", getPassword())
            .append("payPassword", getPayPassword())
            .append("account", getAccount())
            .append("email", getEmail())
            .toString();
    }
}
